<{include file="0_header_menu.html"}>
<{php}>
	global $product_List;
<{/php}>

	<div class="RightBlock">
    	<div class="BigTitle"><img src="images/title/big_title_2.gif" width="245" height="40" alt="產品介紹" /></div>
          <div class="BtnGroup">   
		  <div class="explain_block">	
                <a href="products.php" class="explain_list">回產品分類</a>
          </div>   		
		  </div>
  		<div class="ContentBlock_top">
        	<div class="ContentBlock_bottom">
<{php}>
for ( $counter = 0; $counter < count($product_List); $counter += 3) 
{
<{/php}>		
           	  <div class="ProductBlock">
                	<div class="ProductItem">
                    	<a href="products_detail.php?id=<{php}>echo $product_List[$counter]["id"];<{/php}>&cat_id=<{$cat_id}>" class="ProductPic"><img src="./userfiles/product/<{php}>echo $product_List[$counter]["small_pic"];<{/php}>" width="160" height="160" alt="<{php}>echo $product_List[$counter]["name"];<{/php}>" /></a>
                    	<a href="products_detail.php?id=<{php}>echo $product_List[$counter]["id"];<{/php}>&cat_id=<{$cat_id}>" class="ProductText"><{php}>echo $product_List[$counter]["name"];<{/php}></a>
                    </div>
<{php}>
	if($counter+1<count($product_List)){
<{/php}>					
                    <div class="ProductItem">
                    	<a href="products_detail.php?id=<{php}>echo $product_List[$counter+1]["id"];<{/php}>&cat_id=<{$cat_id}>" class="ProductPic"><img src="./userfiles/product/<{php}>echo $product_List[$counter+1]["small_pic"];<{/php}>" width="160" height="160" alt="<{php}>echo $product_List[$counter+1]["name"];<{/php}>" /></a>
                    	<a href="products_detail.php?id=<{php}>echo $product_List[$counter+1]["id"];<{/php}>&cat_id=<{$cat_id}>" class="ProductText"><{php}>echo $product_List[$counter+1]["name"];<{/php}></a>
                    </div>
<{php}>
	}//if counter+1
	if($counter+2<count($product_List)){
<{/php}>							
                    <div class="ProductItem">
                    	<a href="products_detail.php?id=<{php}>echo $product_List[$counter+2]["id"];<{/php}>&cat_id=<{$cat_id}>" class="ProductPic"><img src="./userfiles/product/<{php}>echo $product_List[$counter+2]["small_pic"];<{/php}>" width="160" height="160" alt="<{php}>echo $product_List[$counter+2]["name"];<{/php}>" /></a>
                    	<a href="products_detail.php?id=<{php}>echo $product_List[$counter+2]["id"];<{/php}>&cat_id=<{$cat_id}>" class="ProductText"><{php}>echo $product_List[$counter+2]["name"];<{/php}></a>
                    </div>
              </div>
<{php}>
	}//if counter+2
}//end for
<{/php}>			  
    		</div>
        </div>
    </div>
<{include file="0_footer.html"}>